package com.ruoyi.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 店铺信息对象 shop
 * 
 * @author ruoyi
 * @date 2024-11-02
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺id，主键 */
    private Long id;

    /** 商家id */
    @Excel(name = "商家id")
    private Long businessId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;

    /** 店铺地址 */
    @Excel(name = "店铺地址")
    private String address;

    /** 经度 */
    private String longitude;

    /** 纬度 */
    private String latitude;

    /** 联系方式（如电话） */
    @Excel(name = "联系方式", readConverterExp = "如=电话")
    private String contact;

    /** 身份证图片链接 */
    @Excel(name = "身份证图片链接")
    private String identityCardImgUrl;

    /** 营业执照链接 */
    @Excel(name = "营业执照链接")
    private String businessLicense;

    /** 店铺状态，0禁用，1启用 */
    @Excel(name = "店铺状态，0禁用，1启用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setIdentityCardImgUrl(String identityCardImgUrl) 
    {
        this.identityCardImgUrl = identityCardImgUrl;
    }

    public String getIdentityCardImgUrl() 
    {
        return identityCardImgUrl;
    }
    public void setBusinessLicense(String businessLicense) 
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense() 
    {
        return businessLicense;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessId", getBusinessId())
            .append("shopName", getShopName())
            .append("address", getAddress())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("contact", getContact())
            .append("identityCardImgUrl", getIdentityCardImgUrl())
            .append("businessLicense", getBusinessLicense())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
